﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.ServiceModel.Web;

// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IProcedure" in both code and config file together.
[ServiceContract]
public interface IQOTStorageWCFService
{
	[OperationContract]
    void DoWork();

    [OperationContract]
    [WebInvoke]
    void AddProcedure(string procedure);

    void AddProcedure(Nizm0.QOT.Library.Objects.IProcedure procedure);

    [OperationContract]
    string FindProcedureByName(string name);

    [OperationContract]
    List<string> GetAllProcedures();
}
